package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.entity.DamageListGoods;
import com.atguigu.jxc.entity.Goods;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

@Repository
public interface DamageListGoodsDao {
    //保存报损单
    Integer saveDamageList(DamageList damageList);
    //保存报损单商品信息
    Boolean saveDamageListGoods(DamageListGoods damageListGood);
    //查询商品报损单列表
    List<DamageList> selectListForTime();
    //查询报损单下边的所有商品
    List<DamageListGoods> selectGoodsFordamageListById(Integer damageListId);
}
